﻿<frame:CFrame  
                  xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" 
                   x:Class="VAdvantage.Apps.BusinessActivity"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                    xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"  
                    xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions"
                    xmlns:scm="clr-namespace:System.ComponentModel;assembly=System.Windows"
                    xmlns:frame="clr-namespace:VAdvantage.Apps"
                    xmlns:Provider="clr-namespace:SilverlightDesktop.Controls;assembly=SilverlightDesktop"
                    xmlns:controlsToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit" 
                    mc:Ignorable="d"
                    xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows"
                    d:DesignHeight="624" d:DesignWidth="1543" 
                    xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"
                    xmlns:controls="clr-namespace:VAdvantage.Controls"
              xmlns:sl="clr-namespace:SLControls.Controls;assembly=SLControls"
              
              
                    
                    xmlns:my2="clr-namespace:Groupbox;assembly=Groupbox">

  
        <!--<Style TargetType="c1:C1AccordionItem" x:Key="AccordionItemPropery">
            <Setter Property="HeaderPadding" Value="10"></Setter>
            <Setter Property="Padding" Value="4"></Setter>
            <Setter Property="CornerRadius" Value="5,5,5,5"></Setter>
            <Setter Property="HeaderFontSize" Value="14"></Setter>
            <Setter Property="BorderThickness" Value="0"></Setter>
            <Setter Property="Margin" Value="3"></Setter>
            <Setter Property="HeaderBackground">
                <Setter.Value>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FFEDEDED" Offset="0" />
                        <GradientStop Color="#FFAAAAAA" Offset="1" />
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>

            <Setter Property="Background">
                <Setter.Value>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="White" Offset="0" />
                        <GradientStop Color="#FF3A4453" Offset="1" />
                        <GradientStop Color="#FED8DADD" Offset="0" />
                        <GradientStop Color="#FE737A85" Offset="0.546" />
                        <GradientStop Color="#FE969BA3" Offset="0.252" />
                        <GradientStop Color="#FF454E59" Offset="0" />
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>

            <Setter Property="ExpandedBackground">
                <Setter.Value>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FF47BEFF" Offset="0" />
                        <GradientStop Color="#FF0C87CA" Offset="1" />
                        <GradientStop Color="#FF3BB3F4" Offset="0.453" />
                        <GradientStop Color="#FF28A2E3" Offset="0.738" />
                        <GradientStop Color="#FF42BAFB" Offset="0.163" />
                        <GradientStop Color="#FF42BAFB" Offset="0.337" />
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>
        </Style>-->





   

    <Grid x:Name="OpenChildWindow">
        <Grid x:Name="LayoutRoot" Background="White">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="120*" />
                <ColumnDefinition Width="502*" />
            </Grid.ColumnDefinitions>
            <Grid Background="#FF454E59">
                <ScrollViewer BorderThickness="0" BorderBrush="Transparent" VerticalScrollBarVisibility="Auto">
                    <sl:VAccordion Name="c1Accordion1" BorderThickness="0" HorizontalAlignment="Stretch"
                            Padding="4"  >
                    


                        <sl:VAccordionItem  
                    Name="itemBusinessActivities" 
                    Header="My Business Activities" 
                     Selected="itemBusinessActivities_Selected">

                            <ListBox BorderThickness="0" Background="Transparent" Margin="2,2,2,2" BorderBrush="{x:Null}" Name="lstBusinessActivitiesList">

                            </ListBox>
                        </sl:VAccordionItem>
                       


                        
                    </sl:VAccordion>
                </ScrollViewer>
            </Grid>

            <Grid Grid.Column="1" Margin="0" Name="grid1">
                <Border x:Name="PanelBorder" Grid.Row="1" Margin="4" CornerRadius="5" Background="#dfdfdf" BorderThickness="0">
                    <Grid Name="RightPanelGrid" Margin="2">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="56" />
                            <RowDefinition Height="1*" />
                        </Grid.RowDefinitions>

                        <Grid x:Name="HeaderGrid">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="73" />
                                <ColumnDefinition Width="1*" />
                                <ColumnDefinition Width="1*" />
                            </Grid.ColumnDefinitions>
                            <Image Name="imgHeader" Stretch="Fill" Margin="12,0,10,0" Width="51" Height="51" />
                            <sdk:Label Grid.Column="1" Height="27" Content="" HorizontalAlignment="Left" Margin="4,19,0,0" Name="lblHeader" VerticalAlignment="Top" Width="498" Foreground="#FF4BA8DB" FontWeight="Normal" FontSize="19" />
                            <Image Grid.Column="2" Height="9"  Name="image1" Stretch="Fill" Margin="0,0,20,0"  VerticalAlignment="Center" Source="/VAdvantage;component/Images/PickOpen10.png" HorizontalAlignment="Right" Cursor="Hand" Width="12" MouseLeftButtonUp="image1_MouseLeftButtonUp" Visibility="Collapsed" />
                            <sdk:Label Grid.Column="2" Height="14" Margin="0,0,33,2" Name="label1" VerticalAlignment="Center" Content="Action" HorizontalAlignment="Right" Width="38" Visibility="Collapsed" />
                        </Grid>
                        <Grid x:Name="rightGrid" Grid.Row="1">
                            <Grid x:Name="schedularGrid" Visibility="Collapsed">
                            </Grid>
                            <Grid x:Name="centerPaneGrid" Visibility="Collapsed">
                            </Grid>
                            <ScrollViewer x:Name="scrollPanels" Grid.Row="1" BorderThickness="0" VerticalScrollBarVisibility="Hidden">
                            </ScrollViewer>




                        </Grid>
                    </Grid>
                </Border>



                <Grid.Background>
                    <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                        <GradientStop Color="#FFF2EFEF" Offset="0.198" />
                        <GradientStop Color="#FFF2ECEC" Offset="1" />
                    </LinearGradientBrush>
                </Grid.Background>

            </Grid>
        </Grid>
    </Grid>
</frame:CFrame>
